package cn.itmantzy.product.mapper;


import cn.itmantzy.basic.mapper.BaseMapper;
import cn.itmantzy.product.domain.Product;

import java.util.Map;

public interface ProductMapper extends BaseMapper<Product>{

    void onSale(Map<String, Object> map);

    void offSale(Map<String, Object> map);

    Product loadByIdDetail(Long id);
}
